package sm.upgrade.main;

import sm.upgrade.DBDictUpgradeImpl;
import sm.upgrade.api.DBDictUpgrade;

public class ValidateNewKeyMain {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		boolean fix = false;
		int argsLength = args.length;
		if (argsLength == 1) {
			String fixStr = args[0].trim();
			if ("fix".equalsIgnoreCase(fixStr)) {
				fix = true;
			}
		}
		DBDictUpgrade dbdictUpgrade = new DBDictUpgradeImpl();
		dbdictUpgrade.validateNewKey(fix);
	}

}
